Java megzine: Java at sea by Michael Clarck & Manish Sahu
Author:Michael Clarck & Manish Sahu [Clarck, Michael]
Language: eng
Format: azw3
Publisher: UNKNOWN
Published: 2018-12-13T16:00:00+00:00
In fact, this effect is caused by the Mac OS X timing subsystem, which records time only at the microsecond level, which causes System .nanoTime() to return results that are whole thousands
NOT THE NORM
Typical values for performance metrics obtained from a JVM do
not usually form a normal distribution.
of nanoseconds
(because 1,000 ns
equals 1 mu). This
shows how impor
tant it is to have an
awareness of the
hardware and OSblogfeatures that can
affect the perfor
mance numbers
produced on a
specific platform.45
On other operating systems and hardware, the granularity of nanoTime() is actually nanoseconds. From here on, we’ll use the same hardware and Java Virtual Machine (JVM), but we’ll run under Ubuntu Linux, so we can obtain the finer precision we need for individual runs.
The Distribution of Results One very important aspect of gathering good numbers for performance tuning is to understand the distribution of performancesensitive results. In particular, typical values for performance metrics obtained from a JVM do not usually form a normal distribution.
Instead, a performance metric, such as the time taken to execute a method, is typically composed
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(27094)
Hello! Python by Anthony Briggs(25950)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(25286)
Kotlin in Action by Dmitry Jemerov(24396)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(23591)
Dependency Injection in .NET by Mark Seemann(23313)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(21945)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(20849)
Grails in Action by Glen Smith Peter Ledbrook(19869)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17073)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(16833)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(14464)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(12584)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11865)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10650)
Hit Refresh by Satya Nadella(9239)
The Kubernetes Operator Framework Book by Michael Dame(8588)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8446)
Robo-Advisor with Python by Aki Ranin(8387)